<li class="list_item">
    <div class="item_meta item_meta_{$isUser ? ($record.sender == 'user' ? 'user':'engineer'):($record.sender == 'user' ? 'engineer':'user')}">
        <div class="item_meta_avatar">
            {eq name="record.sender" value="engineer"}
            <div rel="engineer_popo" data-toggle="popover" data-engineer_id="{$record.engineer_id}" title="{$record.title}" class="avatar_img">
                <img class="img-circle" src="{$record.avatar|default='__CDN__/assets/img/avatar.png'}">
            </div>
            {else/}
            <div rel="userInfo_popo" data-toggle="popover" title="{$record.nickname}" class="avatar_img">
                <img class="img-circle" src="{$record.avatar|default='__CDN__/assets/img/avatar.png'}">
            </div>
            {/eq}
        </div>
        <div class="item_meta_content_box">
            <div class="item_meta_content">
                <div>
                    <div class="item_meta_createtime">{$record.createtime_text}&nbsp;&nbsp;&nbsp;&nbsp;{$record.sender == 'engineer' ? $record.title:$record.nickname}</div>
                    <div class="item_meta_text">
                        <div class="rich_text">{$record.message.html}</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</li>